<?php
require_once(str_replace("\\", "/", dirname(__FILE__)) . "/../config.inc.php");
$id = $_POST["id"];
$type = $_POST["type"];
$user = $context->getBean("modules.accounts.business.user");
$uid = $user->getUidByMapping($id, $type);
echo $uid;
?>
